package com.eastcom.providor.service.impl;

import java.util.List;

import com.eastcom.bm.atom.Atom_ActionJMSNotice;
import com.eastcom.providor.dao.IJMSNoticeDao;
import com.eastcom.providor.service.BaseService;
import com.eastcom.providor.service.IJMSNoticeService;

public class JMSNoticeService extends BaseService implements IJMSNoticeService {

	private IJMSNoticeDao jmsNoticeDao;
	
	public void setJmsNoticeDao(IJMSNoticeDao jmsNoticeDao) {
		this.jmsNoticeDao = jmsNoticeDao;
	}
	
	public List<Atom_ActionJMSNotice> getAllJMSNotice() {
		try {
			return jmsNoticeDao.getAllJMSNotice();
		} 
		catch (Exception e) {
			log.error("JMSNoticeService getAllJMSNotice error", e);
			e.printStackTrace();
		}
		return null;
	}

}
